package com.naiterui.ehp.bs.esign.repository.mysql;

import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.esign.entity.mysql.EsignDrMedicationRecom;

/**
 * @author guoyongxiang
 * @date 2019/12/2 16:43
 * @since 1.0.0
 */
@Repository
public interface IEsignDrMedicationRecomRepository extends BaseJpaRepository<EsignDrMedicationRecom, Long> {

    /**
     * 根据处方编号获取处方信息
     *
     * @param serialNumber
     *
     * @return
     */
    EsignDrMedicationRecom findBySerialNumber(String serialNumber);
}
